Skip to content

server: add WithCookiePath for cookie auth - #72

Merged
octobocto merged 1 commit into
masterfrom
aug-08-cookie-path-option
Aug 8, 2026
Merged

server: add WithCookiePath for cookie auth#72
octobocto merged 1 commit into
masterfrom
aug-08-cookie-path-option

Conversation

@octobocto

Copy link
Copy Markdown
Contributor

Adds WithCookiePath so callers can authenticate via Core's cookie file. The rpcclient re-reads the cookie when it changes, so a consumer survives a Core restart (which rewrites the cookie) without reconnecting. Ignored when a non-empty pass is supplied.

octobocto added a commit to LayerTwo-Labs/drivechain-frontends that referenced this pull request Aug 8, 2026
@octobocto
octobocto force-pushed the aug-08-cookie-path-option branch from de9b065 to 61959aa Compare August 8, 2026 14:20
@octobocto
octobocto merged commit a2f4098 into master Aug 8, 2026
5 checks passed
octobocto added a commit to LayerTwo-Labs/drivechain-frontends that referenced this pull request Aug 8, 2026
orchestrator: drop static rpc creds from the conf

orchestrator: resolve core datadir in one place

orchestrator: simplify core auth selection

orchestrator: resolve the core cookie path correctly

orchestrator: route every core client through the resolver

orchestrator: keep enforcer auth modes exclusive

orchestrator: cookie auth in the integration script

orchestrator: rebuild core clients on credential change

orchestrator: report resolved core creds to clients

cpuminer: resolve rpc creds per request

orchestrator: keep cookie tests in temp datadirs

orchestrator: fix nil-deref lint in tests

orchestrator: point integ script at core datadir

orchestrator: proxy auth via cookie file

Needs barebitcoin/btc-buf#72 (WithCookiePath).

bitwindow: bump btc-buf to match orchestrator
octobocto added a commit to LayerTwo-Labs/drivechain-frontends that referenced this pull request Aug 8, 2026
orchestrator: drop static rpc creds from the conf

orchestrator: resolve core datadir in one place

orchestrator: simplify core auth selection

orchestrator: resolve the core cookie path correctly

orchestrator: route every core client through the resolver

orchestrator: keep enforcer auth modes exclusive

orchestrator: cookie auth in the integration script

orchestrator: rebuild core clients on credential change

orchestrator: report resolved core creds to clients

cpuminer: resolve rpc creds per request

orchestrator: keep cookie tests in temp datadirs

orchestrator: fix nil-deref lint in tests

orchestrator: point integ script at core datadir

orchestrator: proxy auth via cookie file

Needs barebitcoin/btc-buf#72 (WithCookiePath).

bitwindow: bump btc-buf to match orchestrator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant